import React from 'react'
import style from './style.module.css'
import HouseCard from '../houseCard/Index'
import Mock from 'mockjs';

function Index({ houseList }) {
    console.log(houseList, 'houseList');
    return (
        <div>
            {
                
                houseList && houseList.map((item) => {
                    return <HouseCard key={item.id} itemData={item}></HouseCard>
                })
            }
        </div>
    )
}

export default Index